package cn.adkii.springframework.test.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * @author malingdi
 * @description
 * @date 2023/11/23 15:56
 */
public class UserDao {
    private static Map<String, String> hashMap = new HashMap<>();

    static {
        hashMap.put("10001", "adkii");
        hashMap.put("10002", "小五");
        hashMap.put("10003", "小二");
    }

    public String queryUserName(String uId){
        return hashMap.get(uId);
    }
}
